import http from '@/utils/http'
/**
 * @description 创建 快捷功能
 * @param {Object} data - 快捷功能 数据
 * @returns
 */
export function fetchFastCreate(params) {
    return http({
        url: '/v1/fast/create',
        method: 'post',
        data: params
    })
}

/**
 * @description 获取 Banner 列表
 * @param {*} params
 * @returns
 */
export function fetchFastBasic(params) {
    return http({
        url: '/v1/fast/basic',
        method: 'get',
        params: params
    })
}

/**
 * @description 修改快捷功能状态
 * @param {*} params
 * @returns
 */
export function fetchBannerDisable(params) {
    return http({
        url: '/v1/fast/disable',
        method: 'post',
        data: params
    })
}
